package com.luoy.base;

import java.util.ArrayList;

/**
 * @desc:
 * @author: luoy
 * @date: 2022-07-27 16:59
 */
public class StrongReference {
    public static void main(String[] args) {
        new StrongReference().method1();
    }
    public void method1(){
//        Object object=new Object();
//
//        Integer[] objArr=new Integer[Integer.MAX_VALUE];
//        int length = objArr.length;
//
//        ArrayList<Object> objects = new ArrayList<>();
//        objects.clear();

        ArrayList<Object> objects = new ArrayList<>(Integer.MAX_VALUE);
    }
}